/* mixin */
import ConnectorModuleCardSettingMixin from '@src/modules/connector/mixin/card-setting'
/* model */
import { ConnectorBizTypeEnum, ConnectorModuleComponentNameEnum } from '@src/modules/connector/model'
/* vue */
import { ComponentInstance, ComponentRenderProxy, defineComponent, ref } from 'vue'
import { CommonComponentInstance } from '@model/VC'

export type ConnectorModuleCardSettingEventMixinProps = {
  eventTypeName: string;
  serviceEventTypeId: string;
}

export interface ConnectorModuleCardSettingEventMixinSetupState {
  
}

export enum ConnectorModuleCardSettingEventMixinEmitEventNameEnum {
  Input = 'input'
}

export type ConnectorModuleCardSettingEventMixinInstance = ComponentInstance & ConnectorModuleCardSettingEventMixinSetupState
export type ConnectorModuleCardSettingEventMixinVM = ComponentRenderProxy<ConnectorModuleCardSettingEventMixinProps> & CommonComponentInstance & ConnectorModuleCardSettingEventMixinInstance

export default defineComponent({
  name: ConnectorModuleComponentNameEnum.ConnectorModuleCardSettingEventMixin,
  mixins: [ConnectorModuleCardSettingMixin],
  emits: [
  ],
  props: {
    eventTypeName: {
      type: String,
      default: ''
    },
    serviceEventTypeId: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
      toBizType: '',
      fromBizType: ConnectorBizTypeEnum.Event
    }
  },
  computed: {
    bizTypeId(): string {
      return this.serviceEventTypeId
    },
    fromBizTypeName(): string {
      return this.eventTypeName
    }
  }
})
